Optimal. Leaf size=266 \[ \frac {d e^{\frac {A}{2 B}} \sqrt {\frac {e (a+b x)^2}{(c+d x)^2}} (c+d x) \text {Ei}\left (\frac {-A-B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )}{2 B}\right )}{4 B^2 (b c-a d)^2 g^3 (a+b x)}-\frac {b e e^{A/B} \text {Ei}\left (-\frac {A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )}{B}\right )}{2 B^2 (b c-a d)^2 g^3}+\frac {d (c+d x)}{2 B (b c-a d)^2 g^3 (a+b x) \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )}-\frac {b (c+d x)^2}{2 B (b c-a d)^2 g^3 (a+b x)^2 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 263, normalized size of antiderivative = 0.99, number of steps
used = 9, number of rules used = 5, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.147, Rules used = {2550, 2395,
2343, 2347, 2209} \begin {gather*} \frac {d e^{\frac {A}{2 B}} (c+d x) \sqrt {\frac {e (a+b x)^2}{(c+d x)^2}} \text {Ei}\left (-\frac {A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )}{2 B}\right )}{4 B^2 g^3 (a+b x) (b c-a d)^2}-\frac {b e e^{A/B} \text {Ei}\left (-\frac {A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )}{B}\right )}{2 B^2 g^3 (b c-a d)^2}-\frac {b (c+d x)^2}{2 B g^3 (a+b x)^2 (b c-a d)^2 \left (B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )+A\right )}+\frac {d (c+d x)}{2 B g^3 (a+b x) (b c-a d)^2 \left (B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )+A\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2209
Rule 2343
Rule 2347
Rule 2395
Rule 2550
Rubi steps
\begin {align*} \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx &=\int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 0.22, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.14, size = 0, normalized size = 0.00 \[\int \frac {1}{\left (b g x +a g \right )^{3} \left (A +B \ln \left (\frac {e \left (b x +a \right )^{2}}{\left (d x +c \right )^{2}}\right )\right )^{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{{\left (a\,g+b\,g\,x\right )}^3\,{\left (A+B\,\ln \left (\frac {e\,{\left (a+b\,x\right )}^2}{{\left (c+d\,x\right )}^2}\right )\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________